const fs = require('fs')

function requireModel(dir) {
  var files = fs.readdirSync(__dirname);
  for (var i = 0; i < files.length; i++) {
    if (!files[i].startsWith('index')) {
      require('./' + files[i])
    }
  }
}
requireModel()